package com.yb.guigu.pick.pay.controller;

import com.yb.guigu.pick.pay.util.AlipayUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Copyright (C), 2022-2023, 姚兵
 * Author: 32210
 * Date: 2023/6/30 13:52
 * FileName: AlipayController
 * Description:
 */

@RestController
public class AlipayController {

    @Autowired
    AlipayUtil alipayUtil;

    @GetMapping("alipay")
    public String alipay(){
        return alipayUtil.payTest();
    }
}
